package cn.com.cetccst.devicerestriction.ui;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.ViewModel;

import java.util.List;

import cn.com.cetccst.datacenter.policy.PolicyRepository;
import cn.com.cetccst.datacenter.policy.entity.RestrictionEntity;

public class DeviceRestrictionViewModel extends ViewModel {
    public LiveData<List<RestrictionEntity>> restrictions = PolicyRepository.getInstance().getAllRestriction();

    public LiveData<List<RestrictionEntity>> disabledRestrictions = PolicyRepository.getInstance().loadAllDisabled();
}
